<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <ol ng-if="head!='no'" class="breadcrumb">
    <li> <a href="#/index/panel">首页</a> </li>
    <li>
      <a ng-if="!role&&k=='1'" href="#/neworder/qudao/myorder/incomplete/list?m=01">我的未完成订单列表</a>
      <a ng-if="!role&&k=='3'" href="#/neworder/qudao/myorder/effective/list?m=02">我的有效订单列表</a>
      <a ng-if="!role&&k=='4'" href="#/neworder/qudao/myorder/back/list?m=03">我的后端订单列表</a>
      <a ng-if="!role&&k=='2'" href="#/neworder/qudao/ordermanager/incomplete/list?m=05">全部未完成订单列表</a>
      <a ng-if="!role&&k=='5'" href="#/neworder/qudao/ordermanager/effective/list?m=06">全部有效订单列表</a>
      <a ng-if="!role&&k=='6'" href="#/neworder/qudao/ordermanager/back/list?m=07">全部后端订单列表</a>
          <!--兼容历史网页进入-->
      <a ng-if="role" href="#/neworder/neworder0815/list?m={{k}}&role={{role}}">{{k|orderListTitleRender}}</a>
    </li>
    <li>订单附件上传 </li>
  </ol>
  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="save()">
    <div class="fl" style="width:98%;">
     <div class="form-group" ng-class="{'has-error':form.oLocation.$invalid}">
      <span style="font-size: 20px;float: left;">身份证上面的省份: </span>
      <div class="col-sm-5">
        <select class="form-control" name="oLocation" ng-model="proOrder.oLocation" ng-options="m.text as m.text for m in dictMap.pbelongAreaModel" required="required" placeholder="所在地区">
        <option value="">所在地区</option>
         </select> 
      </div>
    </div>
    <div ng-repeat="item in list" style="width:33%;height:400px;padding-top:20px;margin-left:10%;border:1px solid #ddd;display: inline-block;">
        <div>
        审核状态:<span style="color:red">{{item.oPhoStatus|oPhoStatusView}}</span>
         <input type="hidden" ng-model="orderPhosStatus[$index]" ng-init="orderPhosStatus[$index]=item.oPhoStatus"/>
         <br/>
          <span ng-if="item.oPhoStatus=='04'">退回原因:<span style="color:red">{{item.oPhoReason}}</span></span>
          <br/>
        {{item.oPhoType | tjzlView}}:
        </div>
        <div class="btn btn-primary add-pic-btn" ng-show="item.oPhoStatus|oPhoStatusShow">上传图片</div>
        <div  class="btn btn-primary" ng-show="!(item.oPhoStatus|oPhoStatusShow)">已上传</div>
        <div>
          <input  type="hidden" readonly="true" class="form-control" id="advertLinkInput" placeholder="图片地址" name="pic" ng-init="picAddres[$index]=item.oPhoUri" ng-model="picAddres[$index]" required="required">
          <img width="100%" height="290px" ng-src="{{staticHost}}{{picAddres[$index]}}" />
        </div>
        <br/>
    </div>


     <div  ng-show="(k =='1' || k =='2' || k =='4' || k =='6')||(role=='qd'||role=='qdm')" ng-show="list.length>0" >
        <input type="submit" class="btn btn-block btn-primary" value="提交" />
      </div>
    <div class="form-group" ng-show="list.length==0">
      <span style="color:red">没有附件要求</span>
    </div>
    <!--
      <table class="ziliaoshangchuan">
        
        <tr ng-repeat="item in list">
         <td style="width:40%;" >

          <label style="font-size:18px" for="advertLinkInput" class="col-sm-2 control-label">
             {{item.oPhoType | tjzlView}}:</label>
          <div class="col-sm-5">

            <input hidden type="text" readonly="true" class="form-control" id="advertLinkInput" placeholder="图片地址" name="pic" ng-init="picAddres[$index]=item.oPhoUri" ng-model="picAddres[$index]" required="required">
            <div class="btn btn-primary add-pic-btn" ng-show="item.oPhoStatus|oPhoStatusShow">上传图片</div>
          </div>
        </td>
        <td style="width:40%;">
         <div class="col-sm-5">
          <img width="280px;" ng-src="{{staticHost}}{{picAddres[$index]}}" />
        </div>
        <td style="width:20%;font-size:18px">审核状态:<span style="color:red">{{item.oPhoStatus|oPhoStatusView}}</span>
         <input type="hidden" ng-model="orderPhosStatus[$index]" ng-init="orderPhosStatus[$index]=item.oPhoStatus"/>
         <br/>
          <span ng-if="item.oPhoStatus=='04'">退回原因:<span style="color:red">{{item.oPhoReason}}</span></span>
         </td>
      </td>
    </tr>
   
    <tr style="border-bottom:0px  !important ; ">
      01,05,03,07  兼容原有条件
      <td>
       <div ng-show="(k =='1' || k =='2' || k =='4' || k =='6')||(role=='qd'||role=='qdm')" ng-show="list.length>0" >
        <input type="submit" class="btn btn-block btn-primary" value="提交" />
      </div>
      <div class="form-group" ng-show="list.length==0">
        <span style="color:red">没有附件要求</span>
      </div>
    </td>
  </tr>
</table>
 -->
</div>
</form>

</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>